package com.itany.exchange.dao;

import com.itany.exchange.entity.ManagerUser;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2019-12-19 11:07
 * Description：<描述>
 */
@Repository
public interface ManagerUserDao {

    ManagerUser selectByUsernameAndPassword(ManagerUser managerUser);

    List<ManagerUser> findByPage();

    ManagerUser selectByUsername(String username);

    void insertUser(ManagerUser managerUser);

    void updateUser(ManagerUser user);

    void deleteUser(Integer id);

    ManagerUser selectByUserId(Integer id);
}
